home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 October
/
EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso
/
Aminet
/
util
/
time
/
date2day2.lha
/
date2day.doc
< prev
Wrap
Text File
|
1995-04-10
|
814b
|
36 lines
Short: date2day
Author: Armin.Obersteiner@giga.or.at
--
Description:
Once upon a time I searched for a program to calculate the weekday out of
a numreic date. I found a SHAREWARE program with GUI to do so ???!
Whats up? There is absolutely no engenius a-logarithm (internal joke :)
behind this! So use this as FREEWARE, just mention my name if you
use it in your programs ...
--
date2day template:
input: <int> day,month,year
output:<int> 0,1-7
0: error (before 1.1.1801 - this should be enough
if somebody knows a "day" before that please mail it to me)
1-7: Monday-Sunday
--
d2d example:
>> d2d
USAGE: d2d <day>.<month>.<year>
example: d2d 27.3.1995
first usable date: 1.1.1801
>> d2d 27.3.1995
Monday
>> d2d 29.2.1995
Date NOT valid !!
>>